<div id="sss<?=$item_id;?>" style="text-align: center;" class="tiptip">
	<span style="color: <?= $rating >= 0 ? $rating > 0 ? "green" : "grey" : "red" ?>; font-size: 12px;">
<?= $rating > 0 ? "+" . $rating : $rating;?></span><br/>
	<? if ($fl) { ?>
	<?= CHtml::ajaxLink("&nbsp;", "/user/addRating/" . $item_id . "/" . $type, array('update' => '#sss' . $item_id), array('title'=>'Респект',"class" => 'addRating tip'))
	; ?>
	<? }?>

	<? if ($fl) { ?>
	<?= CHtml::ajaxLink("&nbsp;", "/user/removeRating/" . $item_id . "/" . $type, array('update' => '#sss' . $item_id), array('title'=>'Лузер',"class" => 'removeRating tip'))
	; ?>
	<? }?>
</div>
<div class="clear"></div>
